using UnityEditor;

namespace MoonflowCore.Editor.Framework
{
    public abstract class MFToolkitEditor<T> : EditorWindow where T : EditorWindow
    {
        protected int tabIndex;
        protected static MFPageEditor[] pages;
        
        protected static T ins;
        
        public static T GetInstance()
        {
            if (ins == null) ins = GetWindow<T>();
            return ins;
        }
    }
}